﻿using Mimi.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mimi.Models.DataModels
{
    public class Purpose
    {
        /// <summary>
        /// Purpose Id
        /// </summary>
        public string PurposeId { get; set; }

        /// <summary>
        /// Description
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Budget
        /// </summary>
        public double Budget { get; set; }

        /// <summary>
        /// Quota
        /// </summary>
        public double Quota { get; set; }

        /// <summary>
        /// Currency
        /// </summary>
        public Currency Currency { get; set; }

        /// <summary>
        /// Value Type
        /// </summary>
        public PurposeUnitValueType Type { get; set; }
    }

    /// <summary>
    /// Currency enum
    /// </summary>
    public enum Currency
    {
        USD,
        VND,
        None
    }

    /// <summary>
    /// Value type
    /// </summary>
    public enum PurposeUnitValueType
    {
        Percentage,
        Static
    }
}
